<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        table {border-collapse: collapse; font-size: 14px; width: 80%; margin: auto}
        table, th, td {border: 1px solid darkslategray;padding: 10px}
    </style>
</head>
<body>
<div id="app">
    <form th:action="@{/yuan/upda}" method="post" >
        <input type="hidden" name="id" th:value="${list.id}">
        姓名<input type="text" name="name" th:value="${list.name}"><br>
        性别<input type="text" name="sex" th:value="${list.sex}"><br>
        生日<input type="date" name="birth" th:value="${#dates.format(list.birth,'yyyy-MM-dd')}"><br>
        入职时间<input type="date" name="ru" th:value="${#dates.format(list.ru,'yyyy-MM-dd')}"><br>
        学历<input type="text" name="xue" th:value="${list.xue}"><br>
        电话<input type="text" name="phone" th:value="${list.phone}"><br>
        部门
        <select  name="bu"  lay-verify="">
        <option value="">请选择部门</option>
         <option value="1" th:field="*{list.bu}">人事部</option>
         <option value="2" th:field="*{list.bu}">管理部</option>
         <option value="3" th:field="*{list.bu}">资源部</option>
        </select><br>
        职务
        <select  name="zhi" lay-verify="">
            <option value="">请选择职位</option>
            <option value="1" th:field="*{list.zhi}">项目经理</option>
            <option value="2" th:field="*{list.zhi}">员工</option>
            <option value="3" th:field="*{list.zhi}"> 组长</option>
        </select><br>
        <button>修改</button>
    </form>



</div>

</body>
<script>

</script>
</html>